package com.xucy.springboot.designmodel.behavioral.chain;

/**
 * @Author xucy
 * @Date 2019-10-23 17:50
 * @Description
 **/

public  abstract class BaseFilter {

    //判断是否能处理请求
    boolean flag;

    protected BaseFilter nextFilter;

    public void nextFilter(BaseFilter nextFilter){
        this.nextFilter=nextFilter;
    }

    public abstract void doSomeThing();
}
